package mercede.allBean;

//import stdpkmanagement.StndrPkDTO;
//import model.StnpkMngr;

import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.ejb.PostActivate;
import javax.enterprise.context.SessionScoped;

import java.io.Serializable;  
import java.util.HashMap;  
import java.util.Map;  

import javax.faces.application.FacesMessage;  
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext; 

@ManagedBean(name="pprBean")
@javax.faces.bean.SessionScoped
  

public class PPRBean  implements Serializable {  
	private static final long serialVersionUID = 1L;

	 // @EJB
	  //private StnpkMngr stnpmngr;
	 
	  
	    private String city; 
	 
	     
	    private Map<String,String> cities = new HashMap<String, String>();  

	    public PPRBean() {  
	        

	    
	    }
	    
	    @PostConstruct
	    public void init () {
	    	cities.put("ROME", "ROME");  
	        cities.put("PARIS", "PARIS");  
	        cities.put("MADRID", "MADRID");  
	        cities.put("VENIZ", "VENIZ");  
	        cities.put("FLORENCE", "FLORENCE");  
	        cities.put("PISSA", "PISSA");  
	       

	    }
	    public String getCity() {  
	        return city;  
	    }  
	  
	    public void setCity(String city) {  
	        this.city = city;  
	    }  
	     
	      
	    public Map<String, String> getCities() {  
	        return cities;  
	    }  
	  
	    public void setCities(Map<String, String> cities) {  
	        this.cities = cities;  
	    }  
	    
	  
	    

}
